package Service;

import Model.Shebei;
import utils.ReturnData;
import utils.ReturnDataForLayui;
import utils.permission.PageDataResult;

import javax.servlet.http.HttpSession;

public interface ShebeiService {
    ReturnDataForLayui getList(Shebei shebei);
    ReturnData add(Shebei shebei);
    ReturnData delete(Shebei shebei);
    ReturnData updateState(Shebei shebei);
    ReturnData update(Shebei shebei);
    ReturnData updateBeizhu(Shebei shebei);
    ReturnDataForLayui getName(Shebei shebei);
    String setShebei(Shebei shebei, HttpSession session);
    Shebei getShebei(Integer id);
    PageDataResult getShebeis(Shebei shebeiSearch, int page, int limit);
    String delShebei(Integer id);
}